package com.ruyuan.eshop.seller.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruyuan.eshop.framework.domain.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author pwd
 * @version 1.0
 */
@ApiModel
@Data
public class UserAccountDTO extends BaseDTO {

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("邮箱")
    private String mail;

    @ApiModelProperty("头像")
    @JsonProperty("head_img")
    private String headImg;
}